home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_bas
/
basupd10
/
hour.bas
< prev
next >
Wrap
BASIC Source File
|
1992-06-17
|
783b
|
20 lines
' +----------------------------------------------------------------------+
' | |
' | BasUpd Copyright (c) 1992 Thomas G. Hanlin III |
' | |
' | See BASUPD.DOC for info on distribution policy |
' | |
' +----------------------------------------------------------------------+
DEFINT A-Z
FUNCTION Hour (SerialNr#)
Seconds& = CLNG((ABS(SerialNr#) - INT(ABS(SerialNr#))) * 86400#)
Hours = Seconds& \ 3600&
IF Hours = 24 THEN
Hour = 0
ELSE
Hour = Hours
END IF
END FUNCTION